package com.aricksm.xuan.activity01;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

/**
 * Created by xuan on 16/6/17.
 */
public class UserInfoView extends Activity {

    TextView userinfoText;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.userinfo);

        userinfoText = (TextView) findViewById(R.id.textUserinfo);
        UserInfo info = (UserInfo) getIntent().getSerializableExtra("Serializable");

        userinfoText.setText("id:"+info.uid+",username:"+info.username);



    }
}
